#include<stdio.h>
int main()
{
    int arr[10]={1,2,3,4,5,6,7,8,9,10};
    int*ptr=arr;
    while(ptr<=&arr[9]){
        printf("%d",*ptr);
        ptr+=2;
    }
    printf("\n");
    return 0;
}